package cn.csc.module.order.controller.admin.order.vo;

import cn.csc.module.order.controller.admin.addr.vo.OrderAddrRespVO;
import cn.csc.module.order.controller.admin.item.vo.OrderItemRespVO;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.ToString;

import java.math.BigInteger;
import java.time.LocalDateTime;
import java.util.List;

@ApiModel("管理后台 - 订单信息 Response VO")
@Data
@EqualsAndHashCode(callSuper = true)
@ToString(callSuper = true)
public class OrderInfoRespVO extends OrderBaseVO {

    @ApiModelProperty(value = "订单ID", required = true)
    private BigInteger id;

    @ApiModelProperty(value = "创建时间", required = true)
    private LocalDateTime createTime;

    @ApiModelProperty(value = "订单项信息", required = true)
    private List<OrderItemRespVO> itemVOList;

    @Schema(description = "订单地址" )
    private OrderAddrRespVO orderAddr;

    @ApiModelProperty(value = "购物卡主键id")
    private List<String> shoppingCardId;

    @ApiModelProperty(value = "物流信息")
    private List<LogisticsVO>  logisticsVOs;

    @ApiModelProperty(value = "物流公司")
    private String  logisticsComName;
    @ApiModelProperty(value = "物流状态")
    private String  logisticsStatus;

    @ApiModelProperty(value = "物流单号")
    private String  logisticsNum;
}
